package cn.fuxue.hrms.common.entity;

import cn.fuxue.hrms.common.base.BaseModel;
import lombok.Data;

import java.util.Date;

@Data
public class RecruitInfo extends BaseModel {
    private Integer id;
    private Integer positionId;
    private String title;
    private Integer salaryId;
    private Date publishTime;
    private Date endTime;
    private Integer needPeople;
    //招聘开始（招聘前）  招聘进行  招聘结束   异常状态
    private String status;
    private Integer modifyId;
    private Position position;
    private SalaryScale salaryScale;
    private User user;

    public RecruitInfo() {
    }

    public RecruitInfo(Integer id, User user, SalaryScale salaryScale, Integer modifyId, String status, Integer needPeople, Date endTime, Date publishTime, Integer salaryId, String title, Integer positionId, Position position) {
        this.id = id;
        this.user = user;
        this.salaryScale = salaryScale;
        this.modifyId = modifyId;
        this.status = status;
        this.needPeople = needPeople;
        this.endTime = endTime;
        this.publishTime = publishTime;
        this.salaryId = salaryId;
        this.title = title;
        this.positionId = positionId;
        this.position = position;
    }
}
